package com.hhit.bigscreenbackmanage.service.impl.tgygl;

import com.alibaba.fastjson.JSONObject;
import com.hhit.bigscreenbackmanage.dao.tgygl.TJdglGtMapper;
import com.hhit.bigscreenbackmanage.entity.tgygl.TJdglGt;
import com.hhit.bigscreenbackmanage.service.tgygl.TJdglGtService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class TJdglGtServiceImpl implements TJdglGtService {

    private Logger log = LoggerFactory.getLogger(TJdglGtServiceImpl.class);

    @Autowired
    private TJdglGtMapper tJdglGtMapper;

    @Override
    public Map<String, Object> queryTJdglGt(JSONObject jsonObject) {
        Map<String, Object> result = new HashMap<>();
        List<TJdglGt> list = tJdglGtMapper.getTJdglGtList(jsonObject);
        result.put("table",list);
        return result;
    }
}
